<?php echo $this->render('/public/header');?>
<?php use yii\helpers\Url;?>
<div id="main" class="col-xs-12">
	<form class="layui-form layui-form-pane" method="post" action="<?php echo Url::To(['table/income_edit_act']);?>">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">日期</label>
				<div class="layui-input-inline">
					<input type="text" name="date" id="date" value="<?php echo $this->params['data']['date'];?>" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" lay-verify="required" value="<?php echo $this->params['data']['name'];?>" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">国家</label>
				<div class="layui-input-inline">
					<input type="text" name="country" autocomplete="off" value="<?php echo $this->params['data']['country'];?>" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">客户编号</label>
				<div class="layui-input-inline">
					<input type="text" name="number" autocomplete="off" value="<?php echo $this->params['data']['number'];?>" class="layui-input">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">客户名称</label>
				<div class="layui-input-inline">
					<input type="text" name="customer_name" autocomplete="off" value="<?php echo $this->params['data']['customer_name'];?>" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">业务员</label>
				<div class="layui-input-inline">
					<input type="text" name="service_name" lay-verify="required" value="<?php echo $this->params['data']['service_name'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">类型</label>
				<div class="layui-input-inline">
					<input type="text" name="pay_type" autocomplete="off" value="<?php echo $this->params['data']['pay_type'];?>" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">币种</label>
				<div class="layui-input-inline">
					<input type="text" name="money_type" value="<?php echo $this->params['data']['money_type'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			
			<div class="layui-inline">
				<label class="layui-form-label">invocie编号</label>
				<div class="layui-input-inline">
					<input type="text" name="invocie_num" lay-verify="required" value="<?php echo $this->params['data']['invocie_num'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">金额</label>
				<div class="layui-input-inline">
					<input type="text" name="total_fee" lay-verify="required" value="<?php echo $this->params['data']['total_fee'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">费用</label>
				<div class="layui-input-inline">
					<input type="text" name="fee" autocomplete="off" value="<?php echo $this->params['data']['fee'];?>" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">净额</label>
				<div class="layui-input-inline">
					<input type="text" name="clean_fee" lay-verify="required" value="<?php echo $this->params['data']['clean_fee'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			
			<div class="layui-inline">
				<label class="layui-form-label">发件人邮箱</label>
				<div class="layui-input-inline">
					<input type="text" name="email"  value="<?php echo $this->params['data']['email'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">余额</label>
				<div class="layui-input-inline">
					<input type="text" name="remain_money" lay-verify="required" value="<?php echo $this->params['data']['remain_money'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-inline">
					<input type="text" name="remark" value="<?php echo $this->params['data']['remark'];?>" autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>	
		<input type="hidden" name="id" value="<?php echo yii::$app->request->get('id');?>"	/>
		<div class="layui-form-item">
			<button class="layui-btn" lay-submit="" lay-filter="demo2">编辑</button>
		</div>
	</form>
</div>
<?php echo $this->render('/public/footer');?>